#ifndef ABBR_MODEL_
#define ABBR_MODEL_
#include"../../process.h"
class AbbrModel
{
	private:
		set<string> stop;
		string remove_stop(string str);
		bool is_stop(string word);
		double check_cover(int s_i, int s_j, vector<string> &total, string abbr);
		double trans_score(string sub, string base);
		bool check_val(string sub, string base);
	public:
		AbbrModel(iostream *stop_words);
		void build(map<string, int> &sourse, map<string, int> &model);
};
#endif